
<style>
* { box-sizing: border-box; }

/* BUTTON */
.dropbtn-events {
	background-color: transparent;
	color: #e3e3e3;
	border: 1px solid #e3e3e3;
	cursor: pointer;
	font-size: 10px;
	border-radius: 10px;
}

/* SLIDE-UP PANEL */
.League-Events-content {
    position: fixed;
    bottom: -71%;
    width: 100%;
    height: 65%;
    max-width: 1024px;
    margin: auto;
    background: rgba(60, 60, 59, 0.95);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: bottom 0.4s ease;
    z-index: 999;
  
  /* SCROLLING */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS smooth scroll */

  /* ANIMATION */
  transition: bottom 0.4s ease;
  z-index: 999;
}

/* OPEN STATE */
.League-Events-content.show {
	/* top: 184px; */
	bottom: 75px;
	border-bottom: 8px solid #e3e3e3;
	border-radius: 0px 0px 10px 10px;
}

body.no-scroll {
  overflow: hidden;
}

/* LINKS */
.League-Events-content a {
	padding: 0 0 5px 0;
	text-decoration: none;
	display: block;
	border-bottom: 1px solid #6d6d6c;
	background: rgba(60, 60, 59, 0.9);
}

.League-Events-content a:hover {
	background: rgba(76, 76, 75, 0.9);
}

/* ICONS */
.drop-icon {
	color: #e3e3e3;
	margin-left: 5px;
}

.events-in-icon {
  font-size: 14px;
  margin-right: 5px;
}

/* CLOSE BUTTON */
.dropbtn-close {
	position: sticky;
    top: 0px;
    /* left: 90%; */
    /* transform: translateX(-50%); */
    display: flow-root;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #5d5d5c;
    touch-action: none;
    padding: 4px 8px;
    z-index: 1000;
	background-color: #e3e3e3;
	border-radius: 10px 10px 0px 0px;
}

.fa-grip-lines {
	font-size: 22px;
    margin: 0px 0px;
    float: left;
    align-content: inherit;
    align-items: flex-start;
    padding: 0px 8px 0px 8px;
}

/* Close icon */
.fa-xmark {
	font-size: 22px;
    margin: 0px 0px;
    float: right;
    align-content: inherit;
    align-items: flex-start;
    padding: 0px 8px 0px 8px;
    cursor: pointer;
}

/* Hide scrollbar on desktop but keep the content scrollable */
@media (min-width: 768px) {
  .League-Events-content {
    overflow: scroll;  /* Keep content scrollable */
    -ms-overflow-style: none;  /* Hide scrollbar in IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar in Firefox */
	
    height: 75%;
  }

  /* Hide scrollbar in Chrome, Safari, and other Webkit browsers */
  .League-Events-content::-webkit-scrollbar {
    display: none;
  }
}

/* Allow scrollbar on mobile */
@media (max-width: 768px) {
  .League-Events-content {
    overflow-y: auto;  /* Enable scrolling */
    -webkit-overflow-scrolling: touch;  /* Smooth scrolling on iOS */
  }
}
  
</style>

